import ReactDOM from 'react-dom';
import reportWebVitals from './reportWebVitals';
import React ,{ Component } from 'react'
import { Layout } from 'antd';
import AppHeader from './components/header';
import 'antd/dist/antd.css'
import './index.css'
const { Header, Footer,  Content } = Layout;
class App extends Component {
  render(){
    return (
      <Layout style={{minWidth : 1300}}>
      <Header className='header'>
        <AppHeader />
      </Header>
      <Content className='content'>Content</Content>
      <Footer className='footer'>Footer</Footer>
    </Layout>
    )
  }
}
ReactDOM.render(
    <App/>,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
